package self;

public class Test01 {
    int a;
    static int b;

    Test01() {

    }

    void show() {
        System.out.println("非静态方法");
    }
    static void test() {
        System.out.println("静态方法");
    }

    static int plus(int num1,int num2) {
        b++;
        return b;
    }

    public static void main(String[] args) {
        System.out.println(Test01.plus(10,15));
        System.out.println(Test01.plus(5,10));
        Test01 test01 = new Test01();
        System.out.println(test01.plus(15,15));
    }
}
